diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-05 11:49:48 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-04-05 13:10:39 +0530 |
| commit | 2e051fcc4efcfe6af2d3ef22d6a4ba63c9f1c65d (patch) | |
| tree | bbea54f175105a4167f1d07ca50a4a10632b38a2 /CMakeLists.txt | |
| parent | 7e09b35b008f58809ac56184a4f83ab875c038e0 (diff) | |
| download | null-browser-2e051fcc4efcfe6af2d3ef22d6a4ba63c9f1c65d.tar.gz null-browser-2e051fcc4efcfe6af2d3ef22d6a4ba63c9f1c65d.zip | |
Add package path to lua (only current build dir)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c2ce8e..8e1ceb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,9 @@ find_package(PkgConfig REQUIRED) set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib") set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) +# TODO: Please fix this. This sucks +add_compile_definitions(PROJECT_LUA_PATH="./lua/?.lua") + if(DEFINED ENV{RELEASE}) set(CMAKE_BUILD_TYPE Release) set(CMAKE_CXX_FLAGS "-O3 ${CMAKE_CXX_FLAGS}") |
