diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-10-25 12:29:12 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-10-25 12:29:12 (GMT) |
commit | 42ded335a90632a5f7a18a26f2727d149afb0511 (patch) | |
tree | 3949692d62175fa742238e55026f97cfabdc2f48 /test/CMakeLists.txt | |
parent | e8998364a65c8242663606fd43796b656f490fe6 (diff) | |
download | uscxml-42ded335a90632a5f7a18a26f2727d149afb0511.zip uscxml-42ded335a90632a5f7a18a26f2727d149afb0511.tar.gz uscxml-42ded335a90632a5f7a18a26f2727d149afb0511.tar.bz2 |
Trying to fix the build on all platforms
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b0c5114..da70494 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -40,8 +40,11 @@ file(GLOB_RECURSE USCXML_WRAPPERS ) USCXML_TEST_COMPILE(NAME test-bindings LABEL general/test-bindings FILES ${USCXML_WRAPPERS} src/test-bindings.cpp) -USCXML_TEST_COMPILE(NAME test-promela-parser LABEL general/test-promela-parser FILES src/test-promela-parser.cpp) -target_link_libraries(test-promela-parser uscxml_transform) +if (NOT MSVC) + # MSVC does not like to redefine 'protected' + USCXML_TEST_COMPILE(NAME test-promela-parser LABEL general/test-promela-parser FILES src/test-promela-parser.cpp) + target_link_libraries(test-promela-parser uscxml_transform) +endif() # the one binary to test for pass / fail final states add_executable(test-state-pass src/test-state-pass.cpp ${GETOPT_FILES}) |