mirror of
https://github.com/CorsixTH/CorsixTH.git
synced 2025-07-23 04:13:01 +02:00
Currently Corsix-TH only uses hardcoded CORSIX_TH_INTERPRETER_PATH if no --interpreter option passed. Search more locations (including the working directory and the program directory where corsix-th exists) for CORSIX_TH_INTERPRETER_NAME (i.e. CorsixTH.lua). Partially address #1569 so the working directory does not have to be the program directory.
6 lines
86 B
CMake
6 lines
86 B
CMake
add_subdirectory(rnc)
|
|
|
|
if(SEARCH_LOCAL_DATADIRS)
|
|
add_subdirectory(whereami)
|
|
endif()
|