diff options
author | Ronan Collobert <ronan@collobert.com> | 2012-02-02 17:49:14 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2012-02-02 17:49:14 +0400 |
commit | e0bee54a2828a6bd7b734e8ec1b7c06e0c001a96 (patch) | |
tree | 78e9dfa79d9b9de7e863fd143e1b9e76e1d592bd | |
parent | 9dd5a63a2b8471d855d374b04f76f1a2d407d965 (diff) |
cmake cleanup + include fix
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a40538..1f6d506 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,9 +16,7 @@ IF (UNIX OR NOT WIN32) ENDIF (UNIX OR NOT WIN32) -INCLUDE_DIRECTORIES( - "${CMAKE_CURRENT_SOURCE_DIR}" - "${CMAKE_CURRENT_BINARY_DIR}") +INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}") CONFIGURE_FILE("paths.h.in" "${CMAKE_CURRENT_BINARY_DIR}/paths.h") CONFIGURE_FILE("init.lua.in" "${CMAKE_CURRENT_BINARY_DIR}/init.lua") @@ -33,4 +31,4 @@ SET(luasrc ADD_TORCH_PACKAGE(paths "${src}" "${luasrc}") ADD_TORCH_DOK(dok paths "Fundamentals" "Paths and files utilities" 1.) -TARGET_LINK_LIBRARIES(paths ${LUA_LIBRARIES}) +TARGET_LINK_LIBRARIES(paths liblua-shared) |