summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/CMakeLists.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index 7aa28c1cd..b587479c6 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -1,8 +1,9 @@
-install(PROGRAMS anoperc
- DESTINATION "${BINDIR}"
-)
-install(PROGRAMS mydbgen
- DESTINATION "${DATADIR}"
-)
-
+if(NOT WIN32)
+ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/anoperc
+ DESTINATION "${BINDIR}"
+ )
+ install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mydbgen
+ DESTINATION "${DATADIR}"
+ )
+endif(NOT WIN32)