Skip to content

Commit 82adc1c

Browse files
author
Dilawar Singh
committed
Removed the target_link_directories command which is available only in
very recent cmake.
1 parent 3605566 commit 82adc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ endif(APPLE)
299299

300300
add_dependencies(moose.bin libmoose)
301301
target_link_libraries(moose.bin moose ${CMAKE_DL_LIBS})
302-
target_link_directories(moose.bin PUBLIC ${CMAKE_BINARY_DIR})
302+
set_target_properties(moose.bin PROPERTIES LINK_DIRECTORIES ${CMAKE_BINARY_DIR})
303303

304304
if( WITH_BOOST )
305305
target_link_libraries( moose.bin ${Boost_LIBRARIES} )

0 commit comments

Comments
 (0)