Explorar o código

BUG: Fix Framework test after fixing FRAMEWORK targets to not install like frameworks on non-Apple systems.

Brad King %!s(int64=18) %!d(string=hai) anos
pai
achega
9275e1f1d2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Tests/Framework/CMakeLists.txt

+ 2 - 0
Tests/Framework/CMakeLists.txt

@@ -28,6 +28,8 @@ target_link_libraries(bar foo)
 install(TARGETS foo bar
   RUNTIME DESTINATION Applications/CMakeTestsFramework/bin
   FRAMEWORK DESTINATION Library/Frameworks
+  LIBRARY DESTINATION lib
+  ARCHIVE DESTINATION lib
 
   # These are ignored on the Mac... and things are automatically placed in
   # their appropriate Framework sub-folder at build time. (And then the built