If using cmake with MSVC, add the source directory to the includes.

modified:   CMakeLists.txt
pull/7/head
Christoph J. Thompson 13 years ago committed by Mark Adler
parent c1e84b258c
commit 39c7ed14ac
  1. 1
      CMakeLists.txt

@ -60,6 +60,7 @@ if(MSVC)
set(CMAKE_DEBUG_POSTFIX "d")
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
endif()
if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)

Loading…
Cancel
Save