Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/luajit-rocks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2013-10-27 21:35:15 +0400
committerRonan Collobert <ronan@collobert.com>2013-10-27 21:35:15 +0400
commitb7c5a9951e79693779db3ada87322d330faeed92 (patch)
tree86377e7f1765b574e359c4b4b1d99420fc241448
parent380327c6ce0e6262c51418dcd83ff26569e96cac (diff)
luajit cmake: add enable_exports flag
-rw-r--r--luajit/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/luajit/CMakeLists.txt b/luajit/CMakeLists.txt
index 5ed4c23..b473cba 100644
--- a/luajit/CMakeLists.txt
+++ b/luajit/CMakeLists.txt
@@ -302,6 +302,7 @@ ELSE()
add_executable(luajit src/luajit.c ${SRC_LJCORE} ${DEPS})
ENDIF()
target_link_libraries(luajit ${LIBS})
+ SET_TARGET_PROPERTIES(luajit PROPERTIES ENABLE_EXPORTS ON)
ENDIF()
INSTALL(TARGETS libluajit luajit