Browse Source

Fixed OgreImporter link problems on OS X

Daniel Wiberg 12 years ago
parent
commit
e2cf4d97de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Tools/OgreImporter/CMakeLists.txt

+ 1 - 1
Source/Tools/OgreImporter/CMakeLists.txt

@@ -28,6 +28,6 @@ define_source_files ()
 
 
 # Setup target
 # Setup target
 if (APPLE)
 if (APPLE)
-    set (CMAKE_EXE_LINKER_FLAGS "-framework Foundation -framework CoreServices")
+    setup_macosx_linker_flags (CMAKE_EXE_LINKER_FLAGS)
 endif ()
 endif ()
 setup_executable ()
 setup_executable ()