From 3b75879a1d7706ee976a6b9c314beb6ab8fffba3 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Thu, 20 Sep 2012 02:03:56 +0200 Subject: [PATCH] fix cmake warnings --- lib/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 325cdac..d3bde3f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -10,7 +10,7 @@ IF(${PACKAGE_BUILD}) INSTALL(FILES ${files} DESTINATION ${LIB_INSTALL_DIR}/superderpy) ENDIF(UNIX) -ENDIF(${BUILD_PACKAGE}) +ENDIF(${PACKAGE_BUILD}) # TODO: handle libraries in Mac OS X version if needed # TODO: handle other architectures diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 71438e6..1301650 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,7 +37,7 @@ endif(MINGW) IF(${PACKAGE_BUILD}) SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) SET(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib/superderpy:\$ORIGIN") -ENDIF(${BUILD_PACKAGE}) +ENDIF(${PACKAGE_BUILD}) add_executable(superderpy ${SRC_LIST})