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})