Skip to content

Commit 3423e6b

Browse files
committed
cmake - remove trailing spaces
1 parent 34e6996 commit 3423e6b

4 files changed

Lines changed: 22 additions & 22 deletions

File tree

cmake/CMakeLists.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ if(GLTF_SUPPORT OR CITYJSON_SUPPORT)
255255
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_GLTF)
256256
endif()
257257

258-
# Add USD support to serializers
258+
# Add USD support to serializers
259259
if(USD_SUPPORT)
260260
UNIFY_ENVVARS_AND_CACHE(USD_INCLUDE_DIR)
261261
UNIFY_ENVVARS_AND_CACHE(USD_LIBRARY_DIR)
@@ -278,13 +278,13 @@ if(USD_SUPPORT)
278278
endif()
279279

280280
set(USD_LIBRARIES
281-
usd_usd
281+
usd_usd
282282
usd_usdGeom
283-
usd_usdShade
284-
usd_usdLux
285-
usd_vt
286-
usd_sdf
287-
usd_tf
283+
usd_usdShade
284+
usd_usdLux
285+
usd_vt
286+
usd_sdf
287+
usd_tf
288288
usd_gf
289289
)
290290

@@ -481,7 +481,7 @@ if(BUILD_IFCGEOM)
481481

482482
if(OCCT_STATIC)
483483
find_package(Threads)
484-
484+
485485
if(WASM_BUILD)
486486
set(OPENCASCADE_LIBRARIES ${OPENCASCADE_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
487487
else()
@@ -493,7 +493,7 @@ if(BUILD_IFCGEOM)
493493
set(OPENCASCADE_LIBRARIES -Wl,--start-group ${OPENCASCADE_LIBRARIES} -Wl,--end-group ${CMAKE_THREAD_LIBS_INIT})
494494
endif()
495495
endif()
496-
496+
497497
if(NOT APPLE AND NOT WIN32)
498498
set(OPENCASCADE_LIBRARIES ${OPENCASCADE_LIBRARIES} "rt")
499499
endif()
@@ -885,7 +885,7 @@ if(BUILD_IFCGEOM)
885885
if(WASM_BUILD)
886886
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} IfcGeom ${IFCGEOM_SCHEMA_LIBRARIES})
887887
else()
888-
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} IfcGeom ${IFCGEOM_SCHEMA_LIBRARIES} IfcGeom ${IFCGEOM_SCHEMA_LIBRARIES})
888+
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} IfcGeom ${IFCGEOM_SCHEMA_LIBRARIES} IfcGeom ${IFCGEOM_SCHEMA_LIBRARIES})
889889
endif()
890890
endif()
891891

@@ -974,15 +974,15 @@ if(BUILD_IFCGEOM)
974974
file(GLOB IFCGEOM_H_FILES ../src/ifcgeom/kernels/${kernel}/*.h)
975975
file(GLOB IFCGEOM_CPP_FILES ../src/ifcgeom/kernels/${kernel}/*.cpp)
976976
set(IFCGEOM_FILES ${IFCGEOM_CPP_FILES} ${IFCGEOM_H_FILES})
977-
977+
978978
add_library(geometry_kernel_${kernel} ${IFCGEOM_FILES})
979979
set_property(TARGET geometry_kernel_${kernel} APPEND PROPERTY COMPILE_FLAGS "-DIFC_GEOM_EXPORTS")
980980
# needed?
981981
# if(NOT WASM_BUILD)
982982
# endif()
983983
target_link_libraries(geometry_kernel_${kernel} ${${KERNEL_UPPER}_LIBRARIES})
984984
list(APPEND kernel_libraries geometry_kernel_${kernel})
985-
985+
986986
if(${kernel} STREQUAL "cgal")
987987
set_property(TARGET geometry_kernel_${kernel} APPEND_STRING PROPERTY COMPILE_FLAGS " -DCGAL_HAS_THREADS")
988988

@@ -1002,7 +1002,7 @@ if(BUILD_IFCGEOM)
10021002
file(GLOB IFCGEOM_H_FILES ../src/ifcgeom/mapping/*.h)
10031003
file(GLOB IFCGEOM_CPP_FILES ../src/ifcgeom/mapping/*.cpp)
10041004
set(IFCGEOM_FILES ${IFCGEOM_CPP_FILES} ${IFCGEOM_H_FILES} ${IFCGEOM_I_FILES})
1005-
1005+
10061006
add_library(geometry_mapping_ifc${schema} STATIC ${IFCGEOM_FILES})
10071007
set_target_properties(geometry_mapping_ifc${schema} PROPERTIES COMPILE_FLAGS "-DIFC_GEOM_EXPORTS -DIfcSchema=Ifc${schema}")
10081008
target_link_libraries(geometry_mapping_ifc${schema} IfcParse)
@@ -1041,7 +1041,7 @@ if(BUILD_CONVERT OR BUILD_IFCPYTHON)
10411041
foreach(schema ${SCHEMA_VERSIONS})
10421042
add_library(Serializers_ifc${schema} STATIC ${SERIALIZERS_S_FILES})
10431043
set_target_properties(Serializers_ifc${schema} PROPERTIES COMPILE_FLAGS "-DIFC_GEOM_EXPORTS -DIfcSchema=Ifc${schema}")
1044-
1044+
10451045
if(WASM_BUILD)
10461046
target_link_libraries(Serializers_ifc${schema} ${HDF5_LIBRARIES})
10471047
else()
@@ -1221,7 +1221,7 @@ if(BUILD_IFCMAX)
12211221
endif()
12221222

12231223
if(WITH_CGAL)
1224-
add_subdirectory(../src/svgfill svgfill)
1224+
add_subdirectory(../src/svgfill svgfill)
12251225
endif()
12261226

12271227
if(BUILD_QTVIEWER)

cmake/utilities.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ function(files_for_ifc_version IFC_VERSION RESULT_NAME)
121121
${IFC_PARSE_DIR}/Ifc${IFC_VERSION}.cpp
122122
PARENT_SCOPE
123123
)
124-
endfunction()
124+
endfunction()

src/ifcwrap/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ IF((PYTHONINTERP_FOUND AND NOT "${PYTHON_EXECUTABLE}" STREQUAL "") OR PYTHON_MOD
120120
IF("${python_package_dir}" STREQUAL "")
121121
MESSAGE(WARNING "Unable to locate Python site-package directory, unable to install the Python wrapper")
122122
ELSE()
123-
FILE(GLOB_RECURSE sourcefiles
123+
FILE(GLOB_RECURSE sourcefiles
124124
"${CMAKE_CURRENT_SOURCE_DIR}/../ifcopenshell-python/ifcopenshell/*"
125125
)
126126
FOREACH(file ${sourcefiles})

src/qtviewer/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ target_link_libraries(${targetName}
8686
${IFCOPENSHELL_LIBRARIES}
8787
${OPENCASCADE_LIBRARIES}
8888
${OPENSCENEGRAPH_LIBRARIES}
89-
Qt${QT_VERSION}::Core
90-
Qt${QT_VERSION}::Gui
91-
Qt${QT_VERSION}::OpenGL
92-
Qt${QT_VERSION}::OpenGLWidgets
89+
Qt${QT_VERSION}::Core
90+
Qt${QT_VERSION}::Gui
91+
Qt${QT_VERSION}::OpenGL
92+
Qt${QT_VERSION}::OpenGLWidgets
9393
Qt${QT_VERSION}::Widgets
9494
)
9595

96-
target_include_directories(${targetName} PUBLIC
96+
target_include_directories(${targetName} PUBLIC
9797
${QT_DIR}/include
9898
${OPENSCENEGRAPH_INCLUDE_DIRS}
9999
)

0 commit comments

Comments
 (0)