Correct lingering compilation issue under Visual Studio. Hopefully I haven't broken the Linux build

This commit is contained in:
Ward Fisher 2024-02-28 16:45:48 -07:00
parent 6738723b72
commit f9b1b67d38

View File

@ -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)