mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
cmake fixes
This commit is contained in:
@@ -30,17 +30,16 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${LUA_INCLUDE_DIRS}
|
||||
${YAMLCPP_INCLUDE_DIRS}
|
||||
${PHYSFS_INCLUDE_DIRS}
|
||||
${OPENGL_INCLUDE_DIR}
|
||||
${LUA_INCLUDE_DIR}
|
||||
${YAMLCPP_INCLUDE_DIR}
|
||||
${PHYSFS_INCLUDE_DIR}
|
||||
${GMP_INCLUDE_DIR}
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/framework")
|
||||
|
||||
LINK_DIRECTORIES(
|
||||
${Boost_LIBRARY_DIRS}
|
||||
${LUA_LIBRARY_DIRS}
|
||||
${PHYSFS_LIBRARY_DIRS}
|
||||
${YAMLCPP_LIBRARY_DIRS})
|
||||
${LUA_LIBRARY_DIRS})
|
||||
|
||||
# setup definitions
|
||||
ADD_DEFINITIONS(-D_REENTRANT)
|
||||
@@ -126,10 +125,9 @@ ADD_EXECUTABLE(otclient ${SOURCES})
|
||||
# target link libraries
|
||||
TARGET_LINK_LIBRARIES(otclient
|
||||
${Boost_LIBRARIES}
|
||||
${OPENGL_LIBRARY}
|
||||
${OPENGL_LIBRARIES}
|
||||
${LUA_LIBRARIES}
|
||||
${YAMLCPP_LIBRARY}
|
||||
${PHYSFS_LIBRARY}
|
||||
${PNG_LIBRARY}
|
||||
${GMP_LIBRARIES}
|
||||
${ADDITIONAL_LIBRARIES})
|
||||
|
Reference in New Issue
Block a user