Skip to content

Commit e074baa

Browse files
authored
Merge pull request #8891 from The-OpenROAD-Project-staging/no-cache-CMAKE_CXX_STANDARD
Do not cache CMAKE_CXX_STANDARD
2 parents 6a1b435 + ca07652 commit e074baa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ set(OPENROAD_HOME ${PROJECT_SOURCE_DIR})
5959
set(OPENROAD_SHARE ${CMAKE_INSTALL_PREFIX}/share/openroad)
6060

6161
# Default c++ standard used unless otherwise specified in target_compile_features.
62-
set(CMAKE_CXX_STANDARD 20 CACHE STRING "the C++ standard to use for this project")
62+
set(CMAKE_CXX_STANDARD 20)
6363
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6464
# Disable compiler specific extensions like gnu++11.
6565
set(CMAKE_CXX_EXTENSIONS OFF)

src/drt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ target_link_libraries(drt_lib
111111
PUBLIC
112112
stt_lib
113113
utl_lib
114-
dst
114+
dst_lib
115115
Threads::Threads
116116
OpenMP::OpenMP_CXX
117117
${Boost_LIBRARIES}

0 commit comments

Comments
 (0)