Skip to content

Commit

Permalink
Removed space character after "if" statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jriesmeier committed Dec 6, 2024
1 parent 5a462ae commit 2d112b6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.7.0...3.31.1 FATAL_ERROR)

# Declare project
project(DCMTK)
if (NOT DEFINED CMAKE_CXX_STANDARD)
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD "11" CACHE STRING "Set C++ standard to be used (98,11,14,17,20)")
else()
set(CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD} CACHE STRING "Set C++ standard to be used (98,11,14,17,20)")
Expand Down
2 changes: 1 addition & 1 deletion dcmnet/libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ DCMTK_ADD_LIBRARY(dcmnet
DCMTK_TARGET_LINK_MODULES(dcmnet ofstd oflog dcmdata)
DCMTK_TARGET_LINK_LIBRARIES(dcmnet ${WRAP_LIBS})

if (TARGET dcmnet)
if(TARGET dcmnet)
set_property(TARGET dcmnet PROPERTY OUTPUT_NAME "dcmnet${DCMTK_TLS_LIBRARY_POSTFIX}")
endif()
2 changes: 1 addition & 1 deletion dcmpstat/libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ DCMTK_ADD_LIBRARY(dcmpstat

DCMTK_TARGET_LINK_MODULES(dcmpstat ofstd oflog dcmdata dcmiod dcmimgle dcmimage dcmnet dcmdsig dcmtls dcmsr dcmqrdb)

if (TARGET dcmpstat)
if(TARGET dcmpstat)
set_property(TARGET dcmpstat PROPERTY OUTPUT_NAME "dcmpstat${DCMTK_TLS_LIBRARY_POSTFIX}")
endif()
2 changes: 1 addition & 1 deletion dcmqrdb/libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ DCMTK_ADD_LIBRARY(dcmqrdb

DCMTK_TARGET_LINK_MODULES(dcmqrdb ofstd dcmdata dcmnet dcmtls)

if (TARGET dcmqrdb)
if(TARGET dcmqrdb)
set_property(TARGET dcmqrdb PROPERTY OUTPUT_NAME "dcmqrdb${DCMTK_TLS_LIBRARY_POSTFIX}")
endif()
2 changes: 1 addition & 1 deletion dcmsign/libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ DCMTK_ADD_LIBRARY(dcmdsig
DCMTK_TARGET_LINK_MODULES(dcmdsig ofstd dcmdata)
DCMTK_TARGET_LINK_LIBRARIES(dcmdsig ${OPENSSL_LIBS})

if (TARGET dcmdsig)
if(TARGET dcmdsig)
set_property(TARGET dcmdsig PROPERTY OUTPUT_NAME "dcmdsig${DCMTK_TLS_LIBRARY_POSTFIX}")
endif()
2 changes: 1 addition & 1 deletion dcmtls/libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ DCMTK_ADD_LIBRARY(dcmtls
DCMTK_TARGET_LINK_MODULES(dcmtls ofstd dcmdata dcmnet)
DCMTK_TARGET_LINK_LIBRARIES(dcmtls ${OPENSSL_LIBS})

if (TARGET dcmtls)
if(TARGET dcmtls)
set_property(TARGET dcmtls PROPERTY OUTPUT_NAME "dcmtls${DCMTK_TLS_LIBRARY_POSTFIX}")
endif()
6 changes: 3 additions & 3 deletions oficonv/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ DCMTK_ADD_EXECUTABLE(mkesdb ${oficonv_SOURCE_DIR}/apps/mkesdb_bison.cc ${oficonv
DCMTK_TARGET_LINK_MODULES(mkesdb oficonv)

# Custom target "run_flex_and_bison" will rebuild the C++ files using flex and bison.
if (FLEX_FOUND AND BISON_FOUND)
if(FLEX_FOUND AND BISON_FOUND)
ADD_CUSTOM_TARGET(
run_flex_and_bison
COMMAND
COMMAND
${FLEX_EXECUTABLE} --outfile=${oficonv_SOURCE_DIR}/apps/mkcsmapper_flex.cc ${CMAKE_CURRENT_SOURCE_DIR}/mkcsmapper.l
COMMAND
COMMAND
${FLEX_EXECUTABLE} --outfile=${oficonv_SOURCE_DIR}/apps/mkesdb_flex.cc ${CMAKE_CURRENT_SOURCE_DIR}/mkesdb.l
COMMAND
${BISON_EXECUTABLE} --defines=${oficonv_SOURCE_DIR}/apps/mkcsmapper_bison.h --output=${oficonv_SOURCE_DIR}/apps/mkcsmapper_bison.cc ${CMAKE_CURRENT_SOURCE_DIR}/mkcsmapper.y
Expand Down
4 changes: 2 additions & 2 deletions oficonv/datasrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
find_program(XXD_EXECUTABLE NAMES "xxd" "xxd.exe")
mark_as_advanced(XXD_EXECUTABLE)

if (TARGET mkcsmapper AND TARGET mkesdb)
if(TARGET mkcsmapper AND TARGET mkesdb)
ADD_CUSTOM_TARGET(
oficonv_data_files
# convert the ASCII ".src" files into binary ".mps" files
Expand Down Expand Up @@ -161,7 +161,7 @@ if (TARGET mkcsmapper AND TARGET mkesdb)
)
endif()

if (XXD_EXECUTABLE)
if(XXD_EXECUTABLE)
ADD_CUSTOM_TARGET(
oficonv_data_library
# convert the binary csmapper and esdb files into C++ header files
Expand Down

0 comments on commit 2d112b6

Please sign in to comment.