Skip to content

Commit d72b59a

Browse files
committed
target_link_libraries
1 parent fbcee8e commit d72b59a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

luzer/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ set_target_properties(luzer_impl PROPERTIES PREFIX "")
4040
set(custom_mutator_lib_source ${CMAKE_CURRENT_SOURCE_DIR}/custom_mutator_lib.c)
4141
add_library(custom_mutator SHARED ${custom_mutator_lib_source})
4242
target_include_directories(custom_mutator PRIVATE ${LUA_INCLUDE_DIR})
43-
target_link_libraries(custom_mutator PRIVATE ${LUA_LIBRARIES})
44-
target_link_libraries(custom_mutator PRIVATE luzer_impl)
43+
target_link_libraries(custom_mutator PRIVATE
44+
${LUA_LIBRARIES}
45+
luzer_impl
46+
)
4547
set_target_properties(custom_mutator PROPERTIES
4648
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
4749
VERSION ${PROJECT_VERSION}

0 commit comments

Comments
 (0)