Skip to content

Commit f9fd03c

Browse files
committed
Add cif2c to CMake build
1 parent 457b36e commit f9fd03c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,15 @@ if(NOT HAVE_MKSTEMP)
11601160
PRIVATE "${CBF__SRC}/mkstemp.c")
11611161
endif()
11621162

1163+
add_executable(cif2c
1164+
"${CBF__EXAMPLES}/cif2c.c")
1165+
target_link_libraries(cif2c
1166+
cbf)
1167+
if(NOT HAVE_MKSTEMP)
1168+
target_sources(cif2c
1169+
PRIVATE "${CBF__SRC}/mkstemp.c")
1170+
endif()
1171+
11631172
add_executable(cif2cbf
11641173
"${CBF__EXAMPLES}/cif2cbf.c")
11651174
target_link_libraries(cif2cbf

0 commit comments

Comments
 (0)