Skip to content

Commit

Permalink
new-change
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanjiajy committed Jul 21, 2023
1 parent fc85fe1 commit 2a43a8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ endif()
add_subdirectory(src)
add_subdirectory(modules)

# ## if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
add_subdirectory(opencascade_modules)
# ## endif()
endif()

# ------ Setup the tests
if(SPHINXSYS_BUILD_TESTS)
enable_testing()
add_subdirectory(tests)

# ## if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
add_subdirectory(opencascade_tests)
# ## endif()
endif()

endif()

Expand Down
4 changes: 2 additions & 2 deletions opencascade_modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ target_include_directories(opencascade_modules PUBLIC $<BUILD_INTERFACE:${CMAKE_
target_link_libraries(opencascade_modules PUBLIC sphinxsys_3d)

# ## OCCT
# ##if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
find_package(OpenCASCADE CONFIG REQUIRED)
target_link_libraries(sphinxsys_core INTERFACE TKSTEP TKSTEPAttr TKSTEP209 TKSTEPBase TKXSBase TKShHealing TKTopAlgo TKGeomAlgo TKBRep TKGeomBase TKG3d TKG2d TKMath TKernel )
# ## endif()
endif()

0 comments on commit 2a43a8d

Please sign in to comment.