Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed May 27, 2022
1 parent 84175ba commit 959a165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SamTFE/Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ add_executable(SeriousSam
target_link_libraries(SeriousSam ${ENGINELIB})
add_dependencies(SeriousSam ParseEntities)
# Make symbols in the main executable available to dynamic objects
set_target_properties(SeriousSam PROPERTIES ENABLE_EXPORTS ON)
set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON LINK_FLAGS "-Wl,-lvulkan,-rpath,$ORIGIN")


# !!! FIXME: this is an option because you have to recompile the entire engine twice.
Expand Down
2 changes: 1 addition & 1 deletion SamTSE/Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ if(MACOSX)
endif()
target_link_libraries(${ENGINELIB} ${ZLIB_LIBRARIES})
endif()
set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON)
set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON LINK_FLAGS "-Wl,-lvulkan,-rpath,$ORIGIN")

add_executable(SeriousSam
#${ENGINE_SRCS}
Expand Down

0 comments on commit 959a165

Please sign in to comment.