We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f0d93a commit 71c9756Copy full SHA for 71c9756
CMakeLists.txt
@@ -92,6 +92,7 @@ endif()
92
93
################################### TARGETS ####################################
94
95
+link_directories(${CMAKE_BINARY_DIR})
96
add_library(libmoose SHARED basecode/main.cpp)
97
add_executable(moose.bin basecode/main.cpp)
98
@@ -299,7 +300,6 @@ endif(APPLE)
299
300
301
add_dependencies(moose.bin libmoose)
302
target_link_libraries(moose.bin moose ${CMAKE_DL_LIBS})
-set_target_properties(moose.bin PROPERTIES LINK_DIRECTORIES ${CMAKE_BINARY_DIR})
303
304
if( WITH_BOOST )
305
target_link_libraries( moose.bin ${Boost_LIBRARIES} )
0 commit comments