diff --git a/devLib/CMakeLists.txt b/devLib/CMakeLists.txt index c86f402..65aa371 100644 --- a/devLib/CMakeLists.txt +++ b/devLib/CMakeLists.txt @@ -23,7 +23,7 @@ set(wiringPiDev_h ) # Add library target -add_library (${TARGET} SHARED ${wiringPiDev_src}) +add_library (${TARGET} STATIC ${wiringPiDev_src}) # Version set_target_properties(${TARGET} PROPERTIES diff --git a/wiringPi/CMakeLists.txt b/wiringPi/CMakeLists.txt index 7110b4a..ee57d24 100644 --- a/wiringPi/CMakeLists.txt +++ b/wiringPi/CMakeLists.txt @@ -36,7 +36,7 @@ set(wiringPi_h ) # Add library target -add_library (${TARGET} SHARED ${wiringPi_src}) +add_library (${TARGET} STATIC ${wiringPi_src}) # Version set_target_properties(${TARGET} PROPERTIES