Skip to content
Snippets Groups Projects
Commit 7c5995c9 authored by Soeren Peters's avatar Soeren Peters
Browse files

- add JsonCpp option

parent 17879c1d
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,16 @@ IF(MSVC)
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj" ) # enable big object files (fatal error C1128)
ENDIF(MSVC)
#############################################################
### JSONCPP ###
#############################################################
option(HULC.BUILD_JSONCPP "Builds json cpp " OFF)
IF (NOT HULC.BUILD_JSONCPP)
MESSAGE( STATUS "Build Input Project without JsonCpp." )
ELSE()
add_definitions(BUILD_JSONCPP)
ENDIF()
#############################################################
### SUBDIRECTORIES ###
#############################################################
......
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/MPI/Link.cmake)
linkMPI(${targetName})
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/Cuda/Link.cmake)
linkCuda(${targetName})
\ No newline at end of file
linkCuda(${targetName})
if(HULC.BUILD_JSONCPP)
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/JsonCpp/Link.cmake)
linkJsonCpp(${targetName})
endif()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment