Mercurial > projects > qtd
changeset 10:390725da0980
Trivial fix in cmake.
author | SokoL_SD |
---|---|
date | Thu, 14 May 2009 13:30:33 +0000 |
parents | 16eec94c5b33 |
children | 28c9f8f8f34b |
files | CMakeLists.txt |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Thu May 14 13:22:16 2009 +0000 +++ b/CMakeLists.txt Thu May 14 13:30:33 2009 +0000 @@ -95,9 +95,11 @@ endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows) endif (${CMAKE_BUILD_TYPE} MATCHES [dD][eE][bB][uU][gG]) set(D_FLAGS ${D_FLAGS} -I${CMAKE_BINARY_DIR} -I${CMAKE_SOURCE_DIR}) -if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)) +if(D_IS_MARS AND ${CMAKE_SYSTEM_NAME} STREQUAL Windows) +else(D_IS_MARS AND ${CMAKE_SYSTEM_NAME} STREQUAL Windows) set(D_FLAGS ${D_FLAGS} -L-L${CMAKE_BINARY_DIR}/lib) -endif(NOT (${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)) +endif(D_IS_MARS AND ${CMAKE_SYSTEM_NAME} STREQUAL Windows) + # System specifc settings. if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)