diff options
author | Ladislav Zezula <zezula-at-volny-dot-cz> | 2016-11-08 20:56:56 +0100 |
---|---|---|
committer | Ladislav Zezula <zezula-at-volny-dot-cz> | 2016-11-08 20:56:56 +0100 |
commit | 64e610177730715c2b45c12186767316e40cc6c5 (patch) | |
tree | 25b753bec0e5459e67dcc80972d4a466224ecf6c /CMakeLists.txt | |
parent | 5727880a5ae57591151471dff6004207e02993d6 (diff) |
+ Define put back
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c678e7..27cb3ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -305,7 +305,7 @@ option(BUILD_SHARED_LIBS "Compile shared libraries" OFF) add_library(${LIBRARY_NAME} ${SRC_FILES} ${SRC_ADDITIONAL_FILES}) target_link_libraries(${LIBRARY_NAME} ${LINK_LIBS}) -target_compile_definitions(${LIBRARY_NAME} PUBLIC) #CMake should take care of the linking +target_compile_definitions(${LIBRARY_NAME} PUBLIC -D__STORMLIB_SELF__) #CMake should take care of the linking target_include_directories(${LIBRARY_NAME} PUBLIC src/) set_target_properties(${LIBRARY_NAME} PROPERTIES PUBLIC_HEADER "src/StormLib.h;src/StormPort.h") if(BUILD_SHARED_LIBS) |