Skip to content

Commit 64ccad2

Browse files
committed
Add cif2c to CMake build
1 parent 64c25ec commit 64ccad2

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
@@ -1216,6 +1216,15 @@ if(NOT HAVE_MKSTEMP)
12161216
PRIVATE "${CBF__SRC}/mkstemp.c")
12171217
endif()
12181218

1219+
add_executable(cif2c
1220+
"${CBF__EXAMPLES}/cif2c.c")
1221+
target_link_libraries(cif2c
1222+
cbf)
1223+
if(NOT HAVE_MKSTEMP)
1224+
target_sources(cif2c
1225+
PRIVATE "${CBF__SRC}/mkstemp.c")
1226+
endif()
1227+
12191228
add_executable(cif2cbf
12201229
"${CBF__EXAMPLES}/cif2cbf.c")
12211230
target_link_libraries(cif2cbf

0 commit comments

Comments
 (0)