Skip to content

Commit 0799adb

Browse files
committed
💩 Quick hack for python bindings on linux
1 parent 7a5a6c6 commit 0799adb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ set_property(
4444
CRITICAL
4545
OFF)
4646
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_${MQT_QMAP_LOG_LEVEL})
47+
# todo: this might not be the right place to put this but required for spdlog and python bindings on
48+
# linux
49+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
4750

4851
option(BUILD_MQT_QMAP_BINDINGS "Build the MQT QMAP Python bindings" OFF)
4952
if(BUILD_MQT_QMAP_BINDINGS)

0 commit comments

Comments
 (0)