redox icon indicating copy to clipboard operation
redox copied to clipboard

Adds missing DEFINED in check for 64 bit system in CMakeLists.txt

Open Jochen0x90h opened this issue 8 years ago • 1 comments

I want to install into lib on a 64 bit system. For this I pass -DLIB_SUFFIX="" to CMake. This didn't work because NOT LIB_SUFFIX evaluates to false if LIB_SUFFIX is defined but empty string.

Jochen0x90h avatar Aug 16 '16 13:08 Jochen0x90h

Good catch, I added in some checks of my own for MacOS as well as changed the default install location. I combined your commit in #57 I hope you don't mind.

spaghetti- avatar Mar 29 '17 16:03 spaghetti-