diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2012-04-26 18:55:14 +0400 |
---|---|---|
committer | Dominik Schmidt <dev@dominik-schmidt.de> | 2012-04-26 18:55:14 +0400 |
commit | f02a01871158e2d4ba7d62a73432fa5aeda940fb (patch) | |
tree | ab09d25a050bbfc5460bb9306cc3a9c133bd924d /CPackOptions.cmake.in | |
parent | b5f43a89ea9004150a4052337ea39aa319c5c7bd (diff) |
win: remove klaasi haasi's harcoded paths from the nsi
Diffstat (limited to 'CPackOptions.cmake.in')
-rw-r--r-- | CPackOptions.cmake.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/CPackOptions.cmake.in b/CPackOptions.cmake.in index 29ed9a19b..cc9fa477c 100644 --- a/CPackOptions.cmake.in +++ b/CPackOptions.cmake.in @@ -7,5 +7,10 @@ if(CPACK_GENERATOR MATCHES "NSIS") SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma endif(CPACK_GENERATOR MATCHES "NSIS") -SET( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ ) -SET( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
\ No newline at end of file +set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ ) +set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ ) + +set( CSYNC_BINARY_DIR @CSYNC_BINARY_DIR@ ) +if(NOT CSYNC_BINARY_DIR) + message(FATAL_ERROR "You need to make CSYNC_BINARY_DIR point to the csync build dir") +endif() |