Skip to content

Commit

Permalink
Update MSIntTypes repo location
Browse files Browse the repository at this point in the history
only use MSIntTypes when VS version < 11.0
  • Loading branch information
vigsterkr committed Aug 14, 2016
1 parent c67b745 commit b85b203
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Expand Up @@ -359,8 +359,10 @@ IF(COMPILE_MODULAR_INTERFACE)
ENDIF(COMPILE_MODULAR_INTERFACE)

IF(MSVC)
include(external/MSIntTypes)
LIST(APPEND INCLUDES ${THIRD_PARTY_DIR}/MSIntTypes)
IF(MSVC_VERSION VERSION_LESS "1700")
include(external/MSIntTypes)
LIST(APPEND INCLUDES ${THIRD_PARTY_DIR}/MSIntTypes)
ENDIF()

include(external/MSDirent)
LIST(APPEND INCLUDES ${MSDIRENT_INCLUDE_DIR})
Expand Down
6 changes: 3 additions & 3 deletions cmake/external/MSIntTypes.cmake
@@ -1,9 +1,9 @@
SET (MSINTTYPES_REVISION 29)
SET (MSINTTYPES_COMMIT f9e7c5758ed9e3b9f4b2394de1881c704dd79de0)
include(ExternalProject)
ExternalProject_Add(
MSIntTypes
SVN_REPOSITORY http://msinttypes.googlecode.com/svn/trunk/
SVN_REVISION -r ${MSINTTYPES_REVISION}
GIT_REPOSITORY https://github.com/chemeris/msinttypes.git
GIT_TAG ${MSINTTYPES_COMMIT}
UPDATE_COMMAND ""
TIMEOUT 10
PREFIX ${CMAKE_BINARY_DIR}/MSIntTypes
Expand Down

0 comments on commit b85b203

Please sign in to comment.