mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Correct lingering compilation issue under Visual Studio. Hopefully I haven't broken the Linux build
This commit is contained in:
parent
6738723b72
commit
f9b1b67d38
@ -1474,10 +1474,22 @@ endif()
|
||||
|
||||
add_subdirectory(liblib)
|
||||
|
||||
# For tests and utilities, we are no longer
|
||||
# exporting symbols but rather importing them.
|
||||
if(BUILD_DLL)
|
||||
REMOVE_DEFINITIONS(-DDLL_EXPORT)
|
||||
endif()
|
||||
|
||||
if(ENABLE_PLUGINS)
|
||||
add_subdirectory(plugins)
|
||||
endif()
|
||||
|
||||
# For tests and utilities, we are no longer
|
||||
# exporting symbols but rather importing them.
|
||||
if(BUILD_DLL)
|
||||
REMOVE_DEFINITIONS(-DDLL_EXPORT)
|
||||
endif()
|
||||
|
||||
# Enable Utilities.
|
||||
if(BUILD_UTILITIES)
|
||||
include_directories(ncdump)
|
||||
|
Loading…
Reference in New Issue
Block a user