Skip to content

Commit d3f3d25

Browse files
Remove PCB/FLAVOUR refs from Companion CMakeLists.txt
1 parent 6f621d0 commit d3f3d25

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

companion/src/CMakeLists.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -301,22 +301,6 @@ add_subdirectory(tests)
301301

302302
############# Install ####################
303303

304-
# the current flavour is not automatically added if build in the current cmake iteration, so always
305-
# add its library name to be sure
306-
string(TOLOWER ${PCB} FLAVOUR)
307-
308-
if(PCBREV)
309-
if(PCB STREQUAL X7 AND PCBREV STREQUAL ACCESS)
310-
set(FLAVOUR x7access)
311-
elseif(PCB STREQUAL X9D+ AND PCBREV STREQUAL 2019)
312-
set(FLAVOUR x9d+2019)
313-
elseif(PCB STREQUAL X10 AND PCBREV STREQUAL EXPRESS)
314-
set(FLAVOUR x10express)
315-
else()
316-
string(TOLOWER ${PCBREV} FLAVOUR)
317-
endif()
318-
endif(PCBREV)
319-
320304
set(COMPANION_TARGETS_DIR_ROOT "${COMPANION_SRC_DIRECTORY}/../targets")
321305

322306
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")

0 commit comments

Comments
 (0)