Add math library -lm into paramgrill linker flag;
This commit is contained in:
parent
766b450fb8
commit
7e98daa32d
@ -67,8 +67,7 @@ IF (UNIX)
|
||||
TARGET_LINK_LIBRARIES(zbufftest libzstd_static)
|
||||
|
||||
ADD_EXECUTABLE(paramgrill ${PROGRAMS_DIR}/datagen.c ${PROGRAMS_DIR}/xxhash.c ${PROGRAMS_DIR}/paramgrill.c)
|
||||
TARGET_LINK_LIBRARIES(paramgrill libzstd_static)
|
||||
SET_TARGET_PROPERTIES(paramgrill PROPERTIES LINK_FLAGS "-lm")
|
||||
TARGET_LINK_LIBRARIES(paramgrill libzstd_static m) #m is math library
|
||||
|
||||
ADD_EXECUTABLE(datagen ${PROGRAMS_DIR}/datagen.c ${PROGRAMS_DIR}/datagencli.c)
|
||||
TARGET_LINK_LIBRARIES(datagen libzstd_static)
|
||||
|
Loading…
Reference in New Issue
Block a user