From 102194831313b981612d4b1cf300945d731915aa Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 1 Dec 2014 22:09:02 +0100 Subject: [PATCH] Fixed SplitView CMake target name. Spaces are not allowed in CMake 3.0 target names according to policy CMP0037. Fixes #388. --- examples/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 10e6208c..ddb26780 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -28,14 +28,14 @@ if (APPLE) add_executable(Gears MACOSX_BUNDLE gears.c) add_executable(Particles MACOSX_BUNDLE particles.c ${TINYCTHREAD}) add_executable(Simple MACOSX_BUNDLE simple.c) - add_executable("Split View" MACOSX_BUNDLE splitview.c) + add_executable(SplitView MACOSX_BUNDLE splitview.c) add_executable(Wave MACOSX_BUNDLE wave.c) set_target_properties(Boing PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Boing") set_target_properties(Gears PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Gears") set_target_properties(Particles PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Particles") set_target_properties(Simple PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Simple") - set_target_properties("Split View" PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Split View") + set_target_properties(SplitView PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Split View") set_target_properties(Wave PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Wave") else() # Set boring names for executables @@ -63,7 +63,7 @@ if (MSVC) endif() if (APPLE) - set(BUNDLE_BINARIES Boing Gears Particles Simple "Split View" Wave) + set(BUNDLE_BINARIES Boing Gears Particles Simple SplitView Wave) set_target_properties(${BUNDLE_BINARIES} PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING ${GLFW_VERSION}