mirror of https://github.com/Icinga/icinga2.git
parent
dc4fe38d8f
commit
4dd886ebd5
|
@ -26,6 +26,10 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
add_executable(mkclass mkclass.cpp classcompiler.cpp classcompiler.hpp ${FLEX_class_lexer_OUTPUTS} ${BISON_class_parser_OUTPUTS})
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(mkclass shlwapi)
|
||||
endif()
|
||||
|
||||
set_target_properties (
|
||||
mkclass PROPERTIES
|
||||
FOLDER Bin
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
#include <cstring>
|
||||
#ifndef _WIN32
|
||||
#include <libgen.h>
|
||||
#else /* _WIN32 */
|
||||
#include <shlwapi.h>
|
||||
#endif /* _WIN32 */
|
||||
|
||||
using namespace icinga;
|
||||
|
|
Loading…
Reference in New Issue