mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
Merge pull request #2761 from magnusuMET/bugfix/skip_bin_test_on_non_test
Do not compile test program unless required
This commit is contained in:
commit
64e9185bd7
@ -51,7 +51,9 @@ IF(ENABLE_S3)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
BUILD_BIN_TEST(ncrandom)
|
||||
IF(ENABLE_TESTS)
|
||||
BUILD_BIN_TEST(ncrandom)
|
||||
ENDIF()
|
||||
|
||||
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
|
||||
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt Makefile.am)
|
||||
|
Loading…
Reference in New Issue
Block a user