diff --git a/CMakeLists.txt b/CMakeLists.txt index 29ae21d..13b575d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,8 +122,7 @@ function(give_options target) -ffp-contract=fast -fno-signed-zeros -fno-trapping-math - -freciprocal-math - -Wl,$<$:-rpath ./>) + -freciprocal-math) set(BUILD_FLAGS_RELEASE -O3 @@ -244,7 +243,7 @@ function(use_townengine target sources output_directory data_dir) string(JOIN "\n" TOWNENGINE_BOOTSTRAP "#!/bin/env sh" "cd \"$(dirname \"$0\")\"" - "./launcher --data-dir ${data_dir}" + "LD_LIBRARY_PATH=./ ./launcher --data-dir ${data_dir}" "") FILE(GENERATE OUTPUT ${output_directory}/${target}