remove the assumption that game is ran from cwd at root
This commit is contained in:
@ -173,14 +173,14 @@ function(give_options_without_warnings target)
|
||||
${BUILD_FLAGS}
|
||||
$<$<CONFIG:Release>:${BUILD_FLAGS_RELEASE}>
|
||||
$<$<CONFIG:Debug>:${BUILD_FLAGS_DEBUG}>
|
||||
$<$<BOOL:${LINUX}>:-Wl,-rpath,./>)
|
||||
$<$<BOOL:${LINUX}>:-Wl,-rpath,$ORIGIN/>)
|
||||
|
||||
target_link_options(${target} PUBLIC
|
||||
${BUILD_FLAGS}
|
||||
# -Wl,--no-undefined # TODO: use later for implementing no-libc
|
||||
$<$<CONFIG:Release>:${BUILD_FLAGS_RELEASE}>
|
||||
$<$<CONFIG:Debug>:${BUILD_FLAGS_DEBUG}>
|
||||
$<$<BOOL:${LINUX}>:-Wl,-rpath,./>)
|
||||
$<$<BOOL:${LINUX}>:-Wl,-rpath,$ORIGIN/>)
|
||||
|
||||
target_compile_definitions(${target} PUBLIC
|
||||
ORGANIZATION_NAME="${ORGANIZATION_NAME}"
|
||||
|
Reference in New Issue
Block a user