FIX: now also ubuntu recognizes output as binary
This commit is contained in:
@@ -30,6 +30,9 @@ set(CMAKE_AUTOUIC ON)
|
|||||||
# uncomment for ATMega based version (needs usb library)
|
# uncomment for ATMega based version (needs usb library)
|
||||||
#add_definitions(-DATMEGA)
|
#add_definitions(-DATMEGA)
|
||||||
|
|
||||||
|
# add -no-pie flag
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie")
|
||||||
|
|
||||||
# Find the QtWidgets library
|
# Find the QtWidgets library
|
||||||
find_package(Qt5Widgets CONFIG REQUIRED)
|
find_package(Qt5Widgets CONFIG REQUIRED)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user