Added BUILD_TESTING() guard
This commit is contained in:
@@ -14,4 +14,6 @@ foreach ( header ${json_headers} )
|
||||
install( FILES ${header} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/opm/json RENAME ${header})
|
||||
endforeach()
|
||||
|
||||
add_subdirectory( tests )
|
||||
if (BUILD_TESTING)
|
||||
add_subdirectory( tests )
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user