Skip to content

Commit

Permalink
Drop msinttypes
Browse files Browse the repository at this point in the history
We require Visual Studio 2015+ which have inttypes built in.
  • Loading branch information
TheCycoONE committed Jan 11, 2018
1 parent 5a27eee commit 69d4b5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ if(USE_PRECOMPILED_DEPS)
include(PrecompiledDeps)
endif()

# Environment handling
check_include_files(inttypes.h CORSIX_TH_HAS_INTTYPES_H)

# Include individual projects
message("")
# We always build CorsixTH otherwise we would miss the generated header
Expand Down
8 changes: 0 additions & 8 deletions CorsixTH/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,6 @@ if(CORSIX_TH_USE_FREETYPE2)
endif()
endif()

# Find msinttypes for MSVC
if(MSVC AND NOT CORSIX_TH_HAS_INTTYPES_H)
find_path(MSINTTYPES_INCLUDE_DIRS "inttypes.h" NO_DEFAULT_PATH)
message(STATUS "Adding include directory: ${MSINTTYPES_INCLUDE_DIRS}")
include_directories(${MSINTTYPES_INCLUDE_DIRS})
set(CORSIX_TH_HAS_INTTYPES_H 1)
endif()

if(MSVC AND CORSIX_TH_USE_VLD)
find_package(VLD REQUIRED)
if(VLD_FOUND)
Expand Down

0 comments on commit 69d4b5e

Please sign in to comment.