Added BUILD_TESTING() guard

This commit is contained in:
Joakim Hove
2014-12-15 17:36:10 +01:00
parent b585655a5c
commit 19c29ff6df
+3 -1
View File
@@ -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()