summaryrefslogtreecommitdiffstats
path: root/Tests/PerConfig/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-21 19:05:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-12-21 19:05:53 (GMT)
commitbc92c842317ea89e0785ed221adf28aa54319232 (patch)
treed597949a93378e2eb8910dfa407e065d5ae25d99 /Tests/PerConfig/CMakeLists.txt
parentb44632ef6f41cb69bea375d7025f3410c0df17b0 (diff)
parent853de2ed1288dbf891778db30653927d0e223a44 (diff)
downloadCMake-bc92c842317ea89e0785ed221adf28aa54319232.zip
CMake-bc92c842317ea89e0785ed221adf28aa54319232.tar.gz
CMake-bc92c842317ea89e0785ed221adf28aa54319232.tar.bz2
Merge topic 'resolve/tests-if-CYGWIN'
853de2e Merge branch 'custom-command-generator-expressions' into resolve/tests-if-CYGWIN d89e238 Cygwin: Fix tests to check CYGWIN instead of WIN32
Diffstat (limited to 'Tests/PerConfig/CMakeLists.txt')
-rw-r--r--Tests/PerConfig/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/PerConfig/CMakeLists.txt b/Tests/PerConfig/CMakeLists.txt
index 7b7bf2e..3a473b8 100644
--- a/Tests/PerConfig/CMakeLists.txt
+++ b/Tests/PerConfig/CMakeLists.txt
@@ -9,7 +9,7 @@ SET_PROPERTY(TARGET pcShared PROPERTY RELEASE_POSTFIX -opt)
SET_PROPERTY(TARGET pcShared PROPERTY DEBUG_POSTFIX -dbg)
SET_PROPERTY(TARGET pcShared PROPERTY VERSION 1.2)
SET_PROPERTY(TARGET pcShared PROPERTY SOVERSION 3)
-IF(NOT WIN32)
+IF(UNIX AND NOT CYGWIN)
SET(soname_file -DpcShared_soname_file=$<TARGET_SONAME_FILE:pcShared>)
ENDIF()
ADD_EXECUTABLE(perconfig perconfig.c)