From bbb8791a479ed217b81b87293aeec550b73233b0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 3 Jun 2016 21:28:39 -0400 Subject: [PATCH] More Unix fixes. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed751af3..a01959d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 2.8.11) # - MSVC static linking does not include the .res file in out\, so executables lack the necessary resources # - same thing with MinGW? # - MinGW doesn't work in general; windres doesn't like _UI_EXTERN (we could mitigate this by moving the stuff into ui.h and taking advantage of the libui_EXPORTS macro cmake makes for us) but +# - Unix: gcc static linking extra step makes the above a moot point; PUBLIC properties don't propagate project(libui LANGUAGES C CXX) option(BUILD_SHARED_LIBS "Whether to build libui as a shared library or a static library" ON)