We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1caaccc commit 277deceCopy full SHA for 277dece
CMakeLists.txt
@@ -1,6 +1,10 @@
1
set(CUSTOM_METHODS_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/methods/Custom/CustomMethods.h")
2
if(EXISTS "${CUSTOM_METHODS_HEADER}")
3
+ if(NOT ${LUA_VERSION} MATCHES "luajit")
4
target_compile_definitions(lualib PUBLIC ELUNA_USE_CUSTOM_METHODS)
5
+ else()
6
+ target_compile_definitions(lualib INTERFACE ELUNA_USE_CUSTOM_METHODS)
7
+ endif()
8
endif()
9
10
# Define variables for paths
0 commit comments