Fix build on Windows (using cmake and nmake).
This commit is contained in:
parent
3dccc218df
commit
3e8e1c8844
6 changed files with 32 additions and 11 deletions
|
|
@ -17,6 +17,10 @@ ENDIF(NOT MSVC)
|
|||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/config.h)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
IF(MSVC)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/win32 ${CMAKE_CURRENT_SOURCE_DIR}/win32/stdint)
|
||||
ENDIF(MSVC)
|
||||
|
||||
# make it easy to locate CMake modules for finding libraries
|
||||
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue