mirror of https://github.com/ecmwf/eccodes.git
SUP-1871
This commit is contained in:
parent
310db9bc33
commit
35d12dd2e5
|
@ -12,7 +12,8 @@ set_source_files_properties( ${CMAKE_CURRENT_BINARY_DIR}/memfs.c PROPERTIES OBJE
|
||||||
# "${PROJECT_SOURCE_DIR}/memfs.py" ${definition_files}"
|
# "${PROJECT_SOURCE_DIR}/memfs.py" ${definition_files}"
|
||||||
)
|
)
|
||||||
|
|
||||||
ecbuild_add_library(TARGET eccodes_memfs
|
if (HAVE_MEMFS)
|
||||||
CONDITION HAVE_MEMFS
|
ecbuild_add_library(TARGET eccodes_memfs
|
||||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/memfs.c
|
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/memfs.c
|
||||||
GENERATED ${CMAKE_CURRENT_BINARY_DIR}/memfs.c )
|
GENERATED ${CMAKE_CURRENT_BINARY_DIR}/memfs.c)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue